package org.faun.recognizer.statement;

import org.faun.recognizer.PhpExpression;
import org.faun.recognizer.PhpStatement;

public class IfStatement extends PhpStatement {

	public PhpExpression expression;
	public PhpStatement statement;
	public PhpStatement elsestatment;

	public IfStatement(PhpExpression expression, PhpStatement statement){
		this.expression = expression;
		this.statement = statement;			
	}
	public IfStatement(PhpExpression expression, PhpStatement statement, PhpStatement elsestatement){
		this.expression = expression;
		this.statement = statement;
		this.elsestatment = statement;
	}
}
